<?php
namespace app\cash\controller;

use app\BaseController;
use app\stores\model\cash\CashOrderSetModel;

class OrderSet extends BaseController{
    /*需要的信息*/
    public function show()
    {
        $where['shop_id'] = $this->request->shopId;
        $where['type'] = 1;
        $where['is_delete'] = 0;
        $co_Set = CashOrderSetModel::info($where);

        $co_Set['support_service_type'] = $co_Set['support_service_type']?array_map('intval',explode(',',$co_Set['support_service_type'])):$co_Set['support_service_type'];
        return  $this->success($co_Set);

    }
}
